home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
bbs
/
pad321.zip
/
SETTINGS.CFG
< prev
next >
Wrap
Text File
|
1996-09-20
|
7KB
|
160 lines
// ---------------------------------------------------------------------------
// S E T T I N G S . C F G
// ---------------------------------------------------------------------------
//
// This file controls the behaviour of the Padlock call back verifier.
// In order for the settings in this file to take effect, you must recompile
// the .MEX files by running the BUILD batch file in your padlock directory.
// UNTIL YOU RUN BUILD, THE CHANGES YOU MAKE TO THIS FILE WILL HAVE NO EFFECT.
//
// See also the file INSETUP.MH for settings which control the behaviour of
// the input/output routines.
//
// This file is NOT fully compatible with previous versions of padlock. If
// you are upgrading from a previous version, you will have to manually
// edit this file - you cannot simply copy your old file over this one.
//
// File format ----------------------------------------------------------------
//
// All lines beginning with "#define" specify a keyword which controls some
// aspect of the verifier's behaviour. Immediately following the #define
// statement is the keyword being declared. Unlike previous versions of Padlock
// which used PADLOCK.CTL, all keywords are case sensitive. After the keyword
// is the setting for that keyword. Note that lines containing keywords MAY NOT
// contain comments. It does not matter what order the keywords in this file
// appear.
//
// Most settings are either numeric, boolean, or strings. Numeric settings
// are simply numbers. Boolean settings must either contain the text "True" or
// "False" without the double quotes. (Capitalization of the 'T' in True and
// the 'F' in False is important). String settings must be enclosed in double
// quotes.
// if num_allow_ld is set to False, no long distance numbers will
// be verified. That is, the #ld keyword in phone.ctl will be
// treated the same as the #ld_lockout keyword.
#define num_allow_ld False
// OldKeys specifies one or more keys which will be taken away from
// the user after a successful verification. If num_dupe_keys is
// set to True, then Padlock will check to make sure a user
// does not have these keys when determining if the user is
// registered or not.
#define str_old_keys "R"
// NewKeys specifies one or more keys which will be given to the
// user after a successful verification. If num_dupe_keys is
// set to True, Padlock will check the existence of these keys
// when determining if a user is registered.
#define str_new_keys ""
// NewSec specifies the new security level to give users who are
// sucessfully verified. Users whose security level is already
// above this will be unaffected.
#define str_new_sec "Disgrace"
// if the following keyword is not blank, then any phone numbers
// which are too short will automatically have this prefix
// added to them. If adding this to the phone number makes it a
// valid phone number, then it will be used as such. If this
// behaviour is not desired, then leave this keyword blank.
//
// For example. If this keyword is set to "613" and the user enters
// the phone number 2577636 then the user's phone number will be
// changed to 6132577636. This is useful because local callers will
// often forget to enter their area code.
#define str_assume_phone_pfx "613"
// The following keyword controls how phone numbers will be displayed
// and how many digits to expect in a phone number.
// When a user enters a phone number, all non-numeric characters
// are ignored. To determine if the phone number is valid, Padlock will
// count the number of number signs (#) in this string and see if the
// user entered the same number of digits. If not, the user's phone
// number is not considered valid. If so, then the user's phone number
// is reformatted to fit the format specified here.
//
// All characters except number the number sign (#) are treated
// literally and will be inserted directly into the user's phone number.
// The number signs will be replaced by digits from the user's phone
// number.
#define str_phone_format "(###) ###-####"
// ---------------------------------------------------------------------------
// M O D E M S E T U P
// ---------------------------------------------------------------------------
//
// This section defines how Padlock will communicate with your modem.
//
// Modem command strings ---------------------------------------------
//
// This section defines commands that will be sent to the modem. The
// following characters are given special meaning:
//
// ~ 1/2 second pause.
// ^ Raise DTR
// v Lower DTR
// | Carriage return
//
// mdm_dial_pfx is the dial command for your modem. This is send
// immediately before the user's phone number.
#define mdm_dial_pfx "ATDT"
// mdm_dial_sfx gets added to the dial command immediately after the
// phone number.
#define mdm_dial_sfx "|"
// Hangup is the command to hang up your modem.
#define mdm_hangup "~v~~^~~~~~~"
//#define mdm_hangup "+++~~~~~~ATH0|~"
// mdm_init is a string sent to the modem after hanging up with
// the user and before attempting to dial out the first time.
// Ensure that your modem returns the user's connect baud rate
// in its connect message, and not the modem-to-computer rate.
// Also ensure that this string causes your modem to report
// the following messages:
//
// BUSY, CONNECT, NO CARRIER, and NO DIAL TONE.
//
// You should disable all of the following messages:
//
// RINGING, RINGBACK
//
// Auto-answer should be disabled.
//
// The below init string works for my modem. You should check
// your modem manual to find an init string that works for yours.
#define mdm_init "ATX4M0S0=0|~~"
//#define mdm_init ""
// Modem responses ---------------------------------------------------
//
// This section defines strings that may be returned by your modem.
// Note that only the beginning of the modem's message needs to match
// these strings. That is, if the modem returns CONNECT 14400, this
// will match with the string CONNECT or just CON.
#define msg_connect "CONNECT"
#define msg_no_carrier "NO CARRIER"
#define msg_busy "BUSY"
#define msg_no_dialtone "NO DIAL"
#define msg_voice "VOICE"
#define msg_ringing "RINGING"